package com.docker.log;

import com.jfinal.plugin.activerecord.Record;
import com.docker.core.constant.MainConstant;
import com.docker.core.mvc.dao.BaseDao;

public class LogDao extends BaseDao {

    @Override
    protected String getDbName() {
        return MainConstant.DB_DOCKER;
    }

    @Override
    protected String getSqlTplNameSpace() {
        return null;
    }

    public boolean save(String tableName, Record log) {
        return save(tableName, "log_id", log);
    }
    
}
